package com.hex.ds.hdtp.core.app.data.contrast.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @projectName: hdtp-service
 * @package: com.hex.ds.hdtp.core.app.data.contrast.dto
 * @className: ContrastListExcelDto
 * @author: Liang.Fuhao
 * @description: 导入比对清单Excle交互dto
 * @date: 2023/12/22 15:13
 * @version: 1.0
 */
@Data
@Accessors(chain = true)
public class ContrastListExcelDto implements Serializable {

    private String taskPkId;

    private String runLogPkId;
    @Excel(name = "源库名(必填项)")
    private String sourceDbName;
    @Excel(name = "源表名(必填项)")
    private String sourceTableName;
    @Excel(name = "目标数据源(必填项)")
    private String contrastSourceInfoCode;
    @Excel(name = "目标库名(必填项)")
    private String contrastDbName;
    @Excel(name = "目标表名(必填项)")
    private String contrastTableName;
    @Excel(name = "去重count")
    private String removeRepeatCountField;
    @Excel(name = "分组count")
    private String groupCountField;
    @Excel(name = "字段count")
    private String countField;
    @Excel(name = "排除字段")
    private String excludeField;
    @Excel(name = "字段sum")
    private String sumField;
    @Excel(name = "字段trim")
    private String trimField;
    @Excel(name = "空值count")
    private String emptyField;
    @Excel(name = "自定义sql")
    private String customSql;
    @Excel(name = "比对场景")
    private String contrastScene;

    private String tableStructureMappingPkId;

    private String serverPkId;

    private String contrastServerPkId;

    private String status;

    private String tableTransferPkId;
    @Excel(name = "where条件")
    private String whereCondition;

    private String isCreateTable;

    private String isFieldCount;

    private String isHasData;

    private String isStatisticsDataCount;

    private String isAllField;
    @Excel(name = "排序字段")
    private String sortField;
}
